From: Alexandre Emsenhuber Date: Wed, 8 Jul 2009 17:09:41 +0000 (+0000) Subject: fix for r52864: PHP Strict Standards: Declaration of SkinStandard::getHeadScripts... X-Git-Tag: 1.31.0-rc.0~41040 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=bf745110d567e3aab186128c65b9afc9531f1741;p=lhc%2Fweb%2Fwiklou.git fix for r52864: PHP Strict Standards: Declaration of SkinStandard::getHeadScripts() should be compatible with that of Skin::getHeadScripts() in includes/Skin.php on line 141 --- diff --git a/skins/Standard.php b/skins/Standard.php index 5923e16228..5845dcc331 100644 --- a/skins/Standard.php +++ b/skins/Standard.php @@ -18,10 +18,10 @@ class SkinStandard extends Skin { /** * */ - function getHeadScripts( $allowUserJs ) { + function getHeadScripts( $allowUserJs, $extraHtml = '' ) { global $wgStylePath, $wgJsMimeType, $wgStyleVersion; - $s = parent::getHeadScripts( $allowUserJs ); + $s = parent::getHeadScripts( $allowUserJs, $extraHtml ); if ( 3 == $this->qbSetting() ) { # Floating left $s .= "\n";